package com.ciaojian.core.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ciaojian.core.mapper.RosterMapper;
import com.ciaojian.core.model.Roster;

import java.util.List;

/**
 * <p>
 * 班次 服务类
 * </p>
 *
 * @author Atlakyn
 * @since 2021-03-25
 */
public abstract class RosterService extends ServiceImpl<RosterMapper, Roster> {

    /**
     * 根据门店id查询班次
     *
     * @param storeId 门店id
     * @return 门店班次
     */
    public List<Roster> findByStoreId(Integer storeId) {
        return baseMapper.findByStoreId(storeId);
    }
}
